/* Copyright (c) 2008, Katharine Berry
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer in the
 *       documentation and/or other materials provided with the distribution.
 *     * Neither the name of Katharine Berry nor the names of any contributors
 *       may be used to endorse or promote products derived from this software
 *       without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY KATHARINE BERRY ``AS IS'' AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL KATHARINE BERRY BE LIABLE FOR ANY
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 ******************************************************************************/

/* Window decoration */

/* IE6 position:fixed hack from http://annevankesteren.nl/test/examples/ie/position-fixed.html */
body {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;	
	/* Needed to fix the toolbar in IE6 */
	_background:url(http:) fixed;
}
html {
	overflow: hidden;
	height: 100%,
	width: 100%;
}

#background {
	width: 100%;
	height: 100%;
	z-index: 0;
	position: absolute;
	top: 0px;
	left: 0px;
}

/* Button fix */

table.x-btn {
	float: left;
	margin-left: 5px;
	margin-right: 5px;
}

/* Toolbar*/

/* Hacked to work in IE6. See top of file. */
#toolbar {
	position:fixed;
	_position:absolute;
	bottom:0px;
	_top:expression(document.body.scrollTop+document.body.clientHeight-this.clientHeight);
	background-color: transparent;
	width:100%;
	z-index: 9000;
}

/* Also hacked for IE6 */
#statusbar {
	position: fixed;
	_position: absolute;
	top: 0px;
	_top: expression(eval(document.body.scrollTop));
	background-color: transparent;
	width: 100%;
	z-index: 9000;
}

/* Map */

#div_map_control {
	width: 200px;
	height: 100%;
	float: right;
}

#div_map {
	float: left;
	cursor: crosshair;
}

#map_slider_zoom {
	position: absolute;
	bottom: 10px;
	right: 5px;
}

#div_map_control_buttons {
	position: absolute;
	bottom: 30px;
	right: 5px;
}

/* Chat history and IM */

.agentmessage {
}

.objectmessage {
	color: #39bc4b 
}

.systemmessage {
	color: #42cbcf;
}

.chatline {
	font-size: 12px;
}

.chattimestamp {
	color: #aeaeae;
}

.agenttyping {
	color: #aeaeae;
}

/* EXT message boxes */

#msg-div {
	position:absolute;
	left:35%;
	top:10px;
	width:250px;
	z-index:20000;
}

#div_map_location_boxes input {
	margin-left: 5px;
	width: 30px;
}

/* AjaxLife.Widgets.SelectList */

div.al-selectlist ul {
	border:1px solid #888;
	margin:0;
	padding:0;
	width:100%;
	list-style-type:none;
}
div.al-selectlist ul li {
	margin:0;
	padding:3px;
	cursor: pointer;
}

div.al-selectlist ul li.al-selectlist-selected { 
	background-color: rgb(95, 155, 250);
}

div.al-selectlist ul li.al-selectlist-highlighted { 
	background-color: rgb(75, 135, 230); /* Need to find a decent colour. */
}

/* Profile */

.profile {
	font-size: 12px;
}

#dlg_inventory .x-tree-node-inline-icon {
	height: 16px !important;
	width: 16px;
}

/* Notecard */

.notecard {
	font-size: 12px;
}

/* LSL Viewer */

.script {
	font-size: 12px;
	font-family: "Panic Sans", "Courier New", monospace;
}

.script a  {
	text-decoration: none;
}

/* Stats */

#dlg_stats {
	font-size: 12px;
}

#dlg_stats table {
	margin-left: 0%;
	margin-bottom: 0%;
	margin-right: 0px;
	margin-top: -20px;
	width: 100%;
}

#dlg_stats th {
	text-align: left;
	border-bottom-color: #828282;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

.titlerow th {
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	padding-top: 20px;
	font-weight: bold;
}

#dlg_stats td {
	border-right-width: 0px;
	border-left-width: 0px;
	border-top-width: 0px;
	border-bottom-color: #828282;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	text-align: right;
}

#dlg_stats tr  {
	border-bottom-color: #828282;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

/* Minimap */

#minimap  {
	border-color: black;
	border-width: 1px;
	border-style: solid;
	position: absolute;
	right: 0px;
	top: 30px;
}

/* llDialog */

.llDialog {
	margin-left: 0%;
	margin-bottom: 0%;
	margin-right: 0px;
	margin-top: 10px;
	width: 100%;
}

.llDialog td {
	text-align: center;
}
